// <copyright file="cPlayerTest.cs" company="OpenSource"></copyright>

using System;
using _22yards.Core;
using Microsoft.Pex.Framework;
using Microsoft.Pex.Framework.Validation;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace _22yards.Core
{
    [TestClass]
    [PexClass(typeof(cPlayer))]
    [PexAllowedExceptionFromTypeUnderTest(typeof(ArgumentException), AcceptExceptionSubtypes = true)]
    [PexAllowedExceptionFromTypeUnderTest(typeof(InvalidOperationException))]
    public partial class cPlayerTest
    {
        [PexMethod]
        public cPlayer Constructor(DateTime Dob)
        {
            cPlayer target = new cPlayer(Dob);
            return target;
            // TODO: add assertions to method cPlayerTest.Constructor(DateTime)
        }
    }
}
